home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / emovix / eMovix-0.9.0pre1_Setup.exe / {app} / src / movix / bugReport.sh next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2003-12-22  |  1.4 KB  |  33 lines

  1. #!/bin/sh
  2.  
  3. echo -e "dmesg:\n\n" >> /tmp/bugreport.txt
  4. dmesg >> /tmp/bugreport.txt
  5. echo -e "\n/proc/pci:\n\n" >> /tmp/bugreport.txt
  6. cat /proc/pci >> /tmp/bugreport.txt
  7. echo -e "\n/proc/isapnp:\n\n" >> /tmp/bugreport.txt
  8. cat /proc/isapnp >> /tmp/bugreport.txt
  9. echo -e "\n/proc/bus/pci/devices:\n\n" >> /tmp/bugreport.txt
  10. cat /proc/bus/pci/devices >> /tmp/bugreport.txt
  11. echo -e "\n/proc/bus/isapnp/devices:\n\n" >> /tmp/bugreport.txt
  12. cat /proc/bus/isapnp/devices >> /tmp/bugreport.txt
  13. echo -e "\nlsmod:\n\n" >> /tmp/bugreport.txt
  14. lsmod >> /tmp/bugreport.txt
  15. echo -e "\n/tmp/cdMount.log\n\n" >> /tmp/bugreport.txt
  16. cat /tmp/cdMount.log >> /tmp/bugreport.txt
  17. echo -e "\n/tmp/cdMount.err\n\n" >> /tmp/bugreport.txt
  18. cat /tmp/cdMount.err >> /tmp/bugreport.txt
  19. echo -e "\n/tmp/mplayer*\n\n" >> /tmp/bugreport.txt
  20. cat /tmp/mplayer* >> /tmp/bugreport.txt
  21. echo -e "\n/tmp/modprobe.log\n\n" >> /tmp/bugreport.txt
  22. cat /tmp/modprobe.log >> /tmp/bugreport.txt
  23. echo -e "\n/tmp/modprobe.err\n\n" >> /tmp/bugreport.txt
  24. cat /tmp/modprobe.err >> /tmp/bugreport.txt
  25. echo -e "\n/proc/ide/h*/settings\n\n" >> /tmp/bugreport.txt
  26. for i in /proc/ide/h* ; do echo >> /tmp/bugreport.txt && echo "$i" >> /tmp/bugreport.txt && echo >> /tmp/bugreport.txt && cat "$i/settings" >> /tmp/bugreport.txt ; done
  27. echo -e "\nmovix.err\n\n" >> /tmp/bugreport.txt
  28. cat /tmp/movix.err >> /tmp/bugreport.txt
  29. modprobe vfat
  30. mkdir /floppy
  31. mount /dev/floppy/0   /floppy
  32. cp /tmp/bugreport.txt /floppy
  33. umount /floppy